using MicroMsg.Common.Event;
using System;
using System.Collections.Generic;
namespace MicroMsg.Storage
{
	public class SnsTagInfoStorage : StorageTable<SnsTagInfo, string>
	{
		public SnsTagInfoStorage() : base((SnsTagInfo st) => st.strTagID)
		{
		}
		public bool updateList(List<SnsTagInfo> snsTagList)
		{
			return base.updateList<string>(snsTagList, (SnsTagInfo st) => st.strTagID);
		}
		public override void notify(int operation, SnsTagInfo item)
		{
			EventCenter.postCombineEvent(EventConst.ON_STORAGE_SNSTAG_ADD + operation, item);
		}
	}
}
